package com.lnking.lnkingplace.model.entity;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="RecordMonitor对象", description="")
public class RecordMonitor extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String placeId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "房间号")
    private String room;

    @ApiModelProperty(value = "岗位")
    private String post;

    @ApiModelProperty(value = "测温时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime thermometryTime;

    @ApiModelProperty(value = "体温")
    private Float bodyTemperature;

    @ApiModelProperty(value = "有无症状")
    private String symptom;

    @ApiModelProperty(value = "核酸结果")
    private String result;

    @ApiModelProperty(value = "人员类型")
    private String personnelType;

    @JsonIgnore
    private Boolean delFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "核酸检测时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;

    private String phone;

    private String photos;

    private String unionFlag;
}
